/*----------------------------------------------------------
* FILE: Constants.java
* LOGICAL NAME: Constants
* PRODUCT: bila-framework
*----------------------------------------------------------
* MODIFICATIONS
* DATE Sep 17, 2011
* AUTHOR wjuarez
*----------------------------------------------------------
*/

package bila.framework.commons;

/**
 * @author WJuarez
 * <b>Created by </b>wjuarez
 * <b>for</b> bila-framework
 * <b>package</b> bila.framework.commons
 * <b>on</b> Sep 17, 2011 1:56:20 PM
 * <b>Purpose</b> 
 * <p>
 *		Constantes comunes para el uso del framework asi como
 *		tambien para los proyectos que lo utilizan
 * </p>
 */
public class Constants {

	public final static String ASC = "asc";
	public final static String DESC = "desc";
	public final static int DECIMAL_PLACES = 2;
	public static final String EMPTY_STRING = "";
	public static final String DATE_FORMAT = "dd/MM/yyyy";
	
	public static String REPORT_PDF = "PDF";
	public static String REPORT_EXCEL = "EXCEL";
	public static String REPORT_HTML = "HTML";
	public static String REPORT_RTF = "RTF";
	public static String REPORT_CSV = "CSV";
	
	public static String REPORT_TYPE_JDBC = "REPORT_TYPE_JDBC";
	public static String REPORT_TYPE_XML = "REPORT_TYPE_XML";
	
	public static String SUCCESS = "success";
	public static String EDIT_MODE = "editMode";
	public static String EDIT = "edit";
	public static final String INPUT = "input";
	public static final String SAME = "same";
	public static final String MESSAGE = "msg";
	public static final String DISPLAYFORM = "displayform";
	public static final String LIST = "list";
	public static final String ACTION_MSG = "action-msg";
	public static final String SAVE_SUCCESS = "save-success";
	public static final String SAVE_ERROR = "save-error";
	public static final String UPDATE_SUCCESS = "update-success";
	public static final String UPDATE_ERROR = "update-error";
	public static final String DELETE_SUCCESS = "delete-success";
	public static final String DELETE_ERROR = "delete-error";
	public static final String FIND_ERROR = "find-error";
	public static final String EDIT_ERROR = "edit-error";
	public static final String INIT_ERROR = "init-error";
	public static final String EMPTY_VALIDATOR = "empty-validator";
	
	public static final String CODCIA = "001";
	
}
